﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="Solution.CMS.ChangePassword" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <link href="cms.css" rel="stylesheet" />
        <title>Change current password Form</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <section id="loginForm">
                <h2>Use a local account to log in.</h2>
                        <ol>
                            <li>
                                <asp:Label ID="Label4" runat="server" AssociatedControlID="Password">Current Password</asp:Label>
                                <asp:TextBox runat="server" ID="Password" TextMode="Password" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="The password field is required." />
                            </li>
                            <li>
                                <asp:Label ID="Label1" runat="server" AssociatedControlID="NewPassword">New Password</asp:Label>
                                <asp:TextBox runat="server" ID="NewPassword" TextMode="Password" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="NewPassword" CssClass="field-validation-error" ErrorMessage="The new password field is required." />
                            </li>
                            <li>
                                <asp:Label ID="Label3" runat="server" AssociatedControlID="PasswordConfirm">Confirm Password</asp:Label>
                                <asp:TextBox runat="server" ID="PasswordConfirm" TextMode="Password" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="PasswordConfirm" CssClass="field-validation-error" ErrorMessage="The confirm password field is required." />
                            </li>
                        </ol>
                        <asp:Button runat="server" CommandName="ChangePass" Text="Change Password" ID="btnChangePass" OnClick="btnChangePass_Click" />
            </section>
        </form>
    </body>
</html>
